<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div class="J_seat1">
    <div class="operation">
      <input class="J_input" type="text" />
      <button class="J_btn">提交</button>
    </div>
    <table class="person">

    </table>
  </div>
  <hr />
  <div class="J_seat2">
    <div class="operation">
      <input class="J_input" type="text" />
      <button class="J_btn">提交</button>
    </div>
    <table class="person">

    </table>
  </div>
  <hr />
  <div class="J_seat3">
    <div class="operation">
      <input class="J_input" type="text" />
      <button class="J_btn">提交</button>
    </div>
    <table class="person">

    </table>
  </div>
  <hr />
  <div class="J_seat4">
    <div class="operation">
      <input class="J_input" type="text" />
      <button class="J_btn">提交</button>
    </div>
    <table class="person">

    </table>
  </div>
  <script src="./index.js"></script>
  <script>
    new $Seat({ el: 'J_seat1', seatNum: 5, allNum: 10, oneNum: 11 });
    new $Seat({ el: 'J_seat2', seatNum: 5, allNum: 10, oneNum: 11 });
    new $Seat({ el: 'J_seat3', seatNum: 5, allNum: 10, oneNum: 11 });
    new $Seat({ el: 'J_seat4', seatNum: 5, allNum: 10, oneNum: 11 });
  </script>
</body>

</html>